//
//  HJSelectFile.h
//  KaiChat
//
//  Created by lx on 2023/10/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJSelectFile : NSObject


- (void)openCameraInController:(UIViewController *)controller complete:(void (^)(id mediaObject))complete;

- (void)selectPhotoInController:(UIViewController *)controller complete:(void (^)(NSArray<UIImage *> *photos,NSArray *assets))complete;
- (void)selectImageInController:(UIViewController *)controller maxCount:(NSInteger)count complete:(void (^)(NSArray<UIImage *> *photos,NSArray *assets))complete;
- (void)selectVideoInController:(UIViewController *)controller complete:(void (^)(NSArray<UIImage *> *photos,NSArray *assets))complete;

@end

NS_ASSUME_NONNULL_END
